package org.ushio.nchu_22201402.Foen;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.ushio.common_module.entity.MyPackage;

import java.util.List;

@FeignClient(value = "nchu-22201406")
public interface Admin_PackageFoen {
    @GetMapping(value = "/api/packages")
    public List<MyPackage> getAllPackages();

//    @PostMapping(value = "/api/upPackage")
//    public void updatePackage(@RequestBody MyPackage myPackage);
}
